/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.base.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.base.entity.BaLocation;
import com.thinkgem.jeesite.modules.base.dao.BaLocationDao;

/**
 * 货位Service
 * @author alex
 * @version 2017-04-25
 */
@Service
@Transactional(readOnly = true)
public class BaLocationService extends CrudService<BaLocationDao, BaLocation> {

	public BaLocation get(String id) {
		return super.get(id);
	}
	
	public List<BaLocation> findList(BaLocation baLocation) {
		return super.findList(baLocation);
	}
	
	public Page<BaLocation> findPage(Page<BaLocation> page, BaLocation baLocation) {
		return super.findPage(page, baLocation);
	}
	
	@Transactional(readOnly = false)
	public void save(BaLocation baLocation) {
		super.save(baLocation);
	}
	
	@Transactional(readOnly = false)
	public void delete(BaLocation baLocation) {
		super.delete(baLocation);
	}
	
}